package cn.sjlink.appraise.service;

import cn.sjlink.appraise.form.AppraiseEnsureForm;
import cn.sjlink.appraise.form.AppraiseForm;
import cn.sjlink.appraise.form.PutFinishForm;
import cn.sjlink.config.BusinessException;
import cn.sjlink.util.Result;
import org.springframework.transaction.annotation.Transactional;

public interface AppraiseGoodsService {
    @Transactional
    Result submitAppraise(AppraiseForm appraiseForm);

    @Transactional
    Result ensureAppraise(AppraiseEnsureForm appraiseEnsureForm)throws BusinessException;

    Result waitSendList(Long userId,Integer page,Integer pageSize);

    @Transactional
    Result putFinish(PutFinishForm putFinishForm)throws BusinessException;

    Result checkCode(String pickCode,String stackNo,String sign)throws BusinessException;
    @Transactional
    Result pickNotice(String pickCode,String stackNo,String sign)throws Exception;
}
